package com.a2v2.online.store.service.exception;

import com.a2v2.online.store.common.exception.BaseRuntimeException;
import com.a2v2.online.store.service.constant.ErrorCode;

public class ServiceException extends BaseRuntimeException {

    /**
	 * Generated serial version UID.
	 */
	private static final long serialVersionUID = 4438474036126424058L;
	/**
     * Constructor.
     *
     * @param pErrorCode error code
     */
    public ServiceException(final ErrorCode pErrorCode) {
        super(pErrorCode);
    }
    
    /**
     * Constructor.
     *
     * @param pErrorCode error code
     * @param pDescription description
     * @param pThrowable original exception
     */
    public ServiceException(final ErrorCode pErrorCode, final String pDescription, final Throwable pThrowable) {
    	super(pErrorCode, pThrowable);
    }
}
